package com.xu.mall.order.order.model;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.xu.mall.order.payment.model.Payment;

/**
 * 订单
 * 
 * @version Revision History
 * 
 *          <pre>
 * Author     Version       Date        Changes
 * lunan.xu   1.0           2012-11-4  Created
 * </pre>
 * 
 * @since 1.
 */
public class Order implements Serializable {
	private static final long serialVersionUID = -7137035941992514278L;
	private Long id;
	//订单号
	private String orderNo;
	//订单状态
	private String status;
	//创建时间
	private Date createTime;
	//订单项
	private List<OrderItem> orderItems;
	//支付信息
	private Payment payment;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public List<OrderItem> getOrderItems() {
		return orderItems;
	}

	public void setOrderItems(List<OrderItem> orderItems) {
		this.orderItems = orderItems;
	}

	public Payment getPayment() {
		return payment;
	}

	public void setPayment(Payment payment) {
		this.payment = payment;
	}

}
